class OpencallUpdate < ActiveRecord::Base
    self.table_name  = "updatedb"
    self.primary_key = "udid"
    
    belongs_to :opencall, :foreign_key => "callref"
    belongs_to :updater, :class_name => "User", :foreign_key => "repid"
    
end
